package com.vitae.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/5/16.
 */
@Data
@NoArgsConstructor
@TableName("dictionary_lookup")
public class DictionaryLookUp {
    /*主键ID NOT NULL*/
    private String id;
    /*'类型' DEFAULT NULL*/
    private String type;
    /*'代码' DEFAULT NULL*/
    private String code;
    /*'描述' DEFAULT NULL*/
    private String description;
    /*'父ID' DEFAULT NULL*/
    private String parentId;
    /*'排序' DEFAULT NULL*/
    private Integer sort;
    /*'是否激活' 默认为0*/
    private Integer isActive;

    @Override
    public String toString() {
        return "DictionaryLookUp{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", code='" + code + '\'' +
                ", description='" + description + '\'' +
                ", parentId='" + parentId + '\'' +
                ", sort=" + sort +
                ", isActive=" + isActive +
                '}';
    }
}